// 考勤详情
.sz-attendance-container {
    .clockInOut-details {
        width: 100%;
        height: 100%;
        background: url('http://owtz12sxf.bkt.clouddn.com/map.png') no-repeat;
        background-size: cover;
        position: relative;
        .clockInOut-iterm {
            position: absolute;
            bottom: 0;
            left: 0;
            background: #fff;
            padding: 4%;
            width: 100%;
            box-sizing: border-box;
            z-index: 9999;
            .profile {
                position: absolute;
                top: -60px;
                left: 15px;
                font-size: 16px;
                padding: 6px 12px;
                padding-left: 60px;
                background: #fff;
                border-radius: 100px;
                box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
                img {
                    display: block;
                    border-radius: 50%;
                    border: 2px solid #fff;
                    position: absolute;
                    top: 50%;
                    left: 0;
                    transform: translateY(-50%);
                    width: 50px;
                    height: 50px;
                }
            }
        }
        .maps-location {
            position: absolute;
            top: 30%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 40px;
            height: 58px;
            // background: #890;
            .circle {
                width: 40px;
                height: 40px;
                background: #00A0FF;
                border-radius: 50%;
                position: relative;
                z-index: 12;
                img {
                    display: block;
                    width: 36px;
                    height: 36px;
                    position: absolute;
                    left: 2px;
                    top: 2px;
                    border-radius: 50%;
                }
            }
            .triangle-down {
                position: absolute;
                top: 26px;
                left: 0;
                width: 0;
                height: 0;
                border-left: 20px solid transparent;
                border-right: 20px solid transparent;
                border-top: 30px solid #00A0FF;
                border-radius: 50px;
                z-index: 11;
            }
            .oval {
                background: #B1B1B1;
                width: 24px;
                height: 6px;
                border-radius: 50%;
                position: absolute;
                bottom: 0;
                left: 50%;
                transform: translateX(-50%);
                z-index: 10;
            }
        }
        .clockInOut-iterm {
            .timeStamp {
                margin-bottom: 10px;
                .day {
                    color: #4A4A4A;
                    font-size: 24px;
                    font-weight: bold;
                    em {
                        font-size: 18px;
                        font-style: normal;
                        &::before {
                            content: "/";
                            position: relative;
                            // left: -4px;
                        }
                    }
                }
                .week {
                    color: #4A4A4A;
                    font-size: 15px;
                    margin-left: 6px;
                }
            }
            .clockInOut {
                color: #39393A;
                font-size: 16px;
                vertical-align: middle;
                strong {
                    font-weight: normal;
                    margin-right: 5px;
                }
            }
            .commuterTime {
                color: #898989;
                font-style: normal;
                font-size: 13px;
                vertical-align: middle;
            }
            .abnormal {
                color: #F93B18;
                border: 1px solid #F93B18;
                display: inline-block;
                padding: 2px 4px;
                font-size: 10px;
                line-height: 1;
                font-style: normal;
                border-radius: 2px;
                // position: relative;
                // top: 0px;
                margin-left: 6px;
                // transform: scale(0.9);
            }
            .outwork {
                color: #35DBC4;
                border: 1px solid #35DBC4;
                display: inline-block;
                padding: 2px 4px;
                font-size: 10px;
                line-height: 1;
                font-style: normal;
                border-radius: 2px;
                // position: relative;
                // top: 0px;
                margin-left: 6px;
                // transform: scale(0.9);
            }
            .companyAddress {
                color: #000000;
                font-size: 13px;
                margin-top: 5px;
            }
            .locationAddress {
                color: #898989;
                font-size: 13px;
                margin-top: 5px;
                .icon {
                    position: relative;
                    top: -2px;
                    left: -3px;
                    width: 14px;
                }
            }
            .takephotos {
                display: block;
                width: 100px;
                margin-top: 10px;
            }
            .correct {
                display: inline-block;
                color: #3F78B8;
                font-size: 14px;
                margin-right: 30px;
                margin-top: 10px;
                margin-bottom: 10px;
            }
            .state {
                color: #FF965C;
                font-size: 10px;
                line-height: 1;
                border-radius: 2px;
                border: 1px solid #FF965C;
                padding: 2px 4px;
                display: inline-block;
                margin-top: 10px;
            }
            .remarks {
                font-size: 13px;
                color: #9B9B9B;
                display: -webkit-box;
                -webkit-box-orient: vertical;
                -webkit-line-clamp: 2;
                overflow: hidden;
                margin: 10px 0;
            }
            .taskLink {
                margin-top: 10px;
                padding-left: 50px;
                padding: 6px 10px 6px 50px;
                background: #F5F5F5;
                position: relative;
                p {
                    white-space: nowrap;
                    overflow: hidden;
                    text-overflow: ellipsis;
                }
                .task {
                    font-size: 14px;
                    color: #000000;
                }
                .title {
                    font-size: 11px;
                    color: #9B9B9B;
                }
                .icon {
                    position: absolute;
                    top: 50%;
                    left: 10px;
                    width: 30px;
                    height: 30px;
                    transform: translateY(-50%);
                }
            }
        }
        .TabBar {
            position: absolute;
            width: 32px;
            height: 4px;
            background: #DCDCDC;
            border-radius: 100px;
            top: 6px;
            left: 50%;
            transform: translateX(-50%);
        }
    }
}

// fix:为了让窄屏幕下，“迟到”“外勤” 不换行
@media screen and (max-width:320px) {
    .sz-attendance-container {
        .clockInOut-details {
            .clockInOut-iterm {
                .abnormal {
                    margin-left: 0px;
                    padding: 2px;
                }
                .outwork {
                    margin-left: 4px;
                    padding: 2px;
                }
            }
        }
    }
}